<!--
 * @Author: your name
 * @Date: 2021-08-18 14:44:29
 * @LastEditTime: 2021-08-18 15:13:14
 * @LastEditors: Please set LastEditors
 * @Description: iconfont
 * @FilePath: \第一周\day03\4-iconfont.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>iconfont</title>
    <!-- 1.引入iconfont的css文件 -->
    <link rel="stylesheet" href="http://at.alicdn.com/t/font_2753002_kqeq33spzm.css">
    <style>
        .content {
            background-color: lightgreen;
            line-height: 50px;
            vertical-align: middle;
        }
        .icons {
            color: lightcoral;
            font-size: 40px;
        }
        .box {
            background-color: lightcoral;
        }
        .box .icon {
            width: 40px;
        }
    </style>
</head>
<body>
    <!-- 2.调用(纯色) -->
    <div class="content">
        <i class="iconfont icon-eye icons"></i>
        <span class="iconfont icon-pet icons"></span>
        <em class="iconfont icon-hudie"></em>
    </div>
    <div class="box">
        <img class="icon" src="./images/雅麥蝶.png" alt="">
        <span>蝴蝶</span>
    </div>
</body>
</html>
